package com.tanglongan.designPattern.dp01_factoryMethod.demo01;

public class CourseClient {

    public static void main(String[] args) {
        ICourseFactory factory;

        factory = new JavaCourseFactory();
        factory.create().record();

        factory = new PythonCourseFactory();
        factory.create().record();

    }
}
